<!DOCTYPE html>
<html lang="zh-Hans-CN">
    <head>
        <title></title>
        <meta charset="utf-8" />
        <meta name="keywords" content="" />
        <meta name="description" content="" />
        <meta name="author" content="chen" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <meta http-equiv="X-UA-Compatible" content="ie=edge, chrome=1" />
        <!--
            <link rel="stylesheet" type="css/text" media="screen and ( min-width: 1200px )" href="">
        -->
        <link rel="stylesheet" type="text/css" media="screen" href="" />
        <script defer="defer" src=""></script>
        <style>
            /*@import url("css/name.css") screen and ( min-width: 1200px );*/
        </style>
    </head>

    <body>
        <script>
            // 创建http请求
            const xhr = new XMLHttpRequest();
            xhr.onload = function() {
                if (xhr.readyState == 4 && xhr.status == 200) {
                    // 将请求到的数据 -> xhr.response 打印在控制台
                    console.log(xhr.response);
                }
                xhr.open("get", "http://127.0.0.1:7003", true);
                xhr.send();
            };
        </script>
    </body>
</html>
